<html>
<head>
<title>ThaiCreate.Com Tutorial</title>
</head>
<body>
<?

		//*** Update Record ***//
		$objConnect = mysql_connect("localhost","root","root") or die("Error Connect to Database");
		$objDB = mysql_select_db("appdrivergame");
		mysql_query("SET character_set_results=utf8");
	    mysql_query("SET character_set_client=utf8"); 
	    mysql_query("SET character_set_connection=utf8");
		$strSQL = "UPDATE image ";		
		$strSQL .=" SET image_name ='".$_POST["image_name"]."'  WHERE id = '".$_GET["id"]."' ";
		$objQuery = mysql_query($strSQL);		
	

?>
 <script type="text/javascript">
	window.location.href = "Padmin2.php";
	</script> 
</body>
</html>